<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
	<link rel="icon" href="data:;base64,=" />
    <title>注册成功</title>
    <link rel="stylesheet" href="/css/promote/style.css" />
</head>
<body id="test">
	<div class="succe">
		<p class="succe-top">温馨提示</p>
		<p class="succe-title">您已成功注册鲸拍账号，登录账号为您的手机号，请牢记您的密码。赶紧去<span class="title-span">下载</span>吧！</p>
	</div>
	<button id="succe-btn">立即下载</button>
</body>
<script type="text/javascript" src="/plugins/jquery.min.js" ></script>
<script type="text/javascript">
	autodivheight();
	function autodivheight() {
		//获取浏览器窗口高度  
		var winHeight = 0;
		if(window.innerHeight) {
			winHeight = window.innerHeight;
		} else if((document.body) && (document.body.clientHeight)) {
			winHeight = document.body.clientHeight;
		}
		if(document.documentElement && document.documentElement.clientHeight) {
			winHeight = document.documentElement.clientHeight;
			document.getElementById("test").style.height = winHeight + "px";
		}
	}
	$("#succe-btn, .title-span").on("click",function () {
		window.location.href = 'https://www.pgyer.com/pnye';
    });
	window.onresize = autodivheight; 
</script>
</html>